﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace MengLin.OOP.DesignPattern.StatePattern.WorkState.Abstract
{
    /// <summary>
    /// 抽象状态
    /// </summary>
    public abstract class AbstractState
    {
        /// <summary>
        /// 写程序
        /// </summary>
        /// <param name="work"></param>
        public abstract void WriteProgram(WorkContext work);
    }
}
